﻿interest_in_hawaii = { #Decision for to activate JEs for GPs interested in Hawaii.
	is_shown = {
		NOT = { has_variable = hawaii_interest_decision_taken }
		country_rank = rank_value:great_power
		has_global_variable = gp_hawaii_interest
	}

	possible = {
		country_rank = rank_value:great_power
		has_interest_marker_in_region = region_oceania
	}

	when_taken = {
		set_variable = hawaii_interest
		set_variable = hawaii_interest_decision_taken
		custom_tooltip = hawaii_interest_tt
		add_modifier = {
			name = influence_over_hawaii
			months = normal_modifier_time
		}
		add_journal_entry = {
			type = je_hawaiian_interest
		}
	}

	ai_chance = {
		base = 0
		
		modifier = {
			trigger = {
				country_is_in_north_america = yes 
			}
			add = 2
		}
		
		modifier = {
			trigger = {
				OR = {
					country_is_in_europe = yes 
					country_is_in_south_america = yes 
				}			
			}
			add = 0.1
		}		
		
		modifier = {
			trigger = {
				has_strategy = ai_strategy_armed_isolationism
			}
			add = -1000
		}
		
		modifier = {
			OR = {
				is_diplomatic_play_committed_participant = yes
				is_at_war = yes
			}
			add = -1000
		}
	}
}